package com.gidgabs.dto;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

import java.util.Date;

/**
 * 购物车dto
 */
@ApiModel("用户数据")
public class TbShoppingCarDto {

    //
    @ApiModelProperty("id")
    private Integer id;
    //用户编号
    @ApiModelProperty("用户编号")
    private Integer userId;
    //产品编号
    @ApiModelProperty("产品编号")
    private Integer productId;
    //文图描述地址
    @ApiModelProperty("文图描述地址")
    private String graphicIntroductionUrl;
    //0:未删除，1:已删除
    @ApiModelProperty("0:未删除，1:已删除")
    private Integer deleteType;
    //产品数量
    @ApiModelProperty("产品数量")
    private Integer amount;
    //产品单价
    @ApiModelProperty("产品单价")
    private Integer price;
    //产品名称
    @ApiModelProperty("产品名称")
    private String productName;
    //创建时间
    @ApiModelProperty("创建时间")
    private Date createTime;
    //产品主人id
    @ApiModelProperty("产品主人id")
    private Integer productMasterId;

    public Integer getProductMasterId() {
        return productMasterId;
    }

    public void setProductMasterId(Integer productMasterId) {
        this.productMasterId = productMasterId;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public Integer getUserId() {
        return userId;
    }

    public void setUserId(Integer userId) {
        this.userId = userId;
    }

    public Integer getProductId() {
        return productId;
    }

    public void setProductId(Integer productId) {
        this.productId = productId;
    }

    public String getGraphicIntroductionUrl() {
        return graphicIntroductionUrl;
    }

    public void setGraphicIntroductionUrl(String graphicIntroductionUrl) {
        this.graphicIntroductionUrl = graphicIntroductionUrl;
    }

    public Integer getDeleteType() {
        return deleteType;
    }

    public void setDeleteType(Integer deleteType) {
        this.deleteType = deleteType;
    }

    public Integer getAmount() {
        return amount;
    }

    public void setAmount(Integer amount) {
        this.amount = amount;
    }

    public Integer getPrice() {
        return price;
    }

    public void setPrice(Integer price) {
        this.price = price;
    }

    public String getProductName() {
        return productName;
    }

    public void setProductName(String productName) {
        this.productName = productName;
    }
}
